package com.xtkj.superclub_activity;

import com.xtkj.commons.SnowflakeIdWorker;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * 项目名称：superclub
 * 类 名 称：WebConfig
 * 类 描 述：TODO
 * 创建时间：2019/12/25 20:39
 * 创 建 人：Administrator
 */
@Configuration
public class WebConfig {

    @Bean
    public SnowflakeIdWorker getSnowflakeIdWorker() {
        return new SnowflakeIdWorker(0, 0);
    }

}